package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    int insert(NursingLevel nursingLevel);

    int deleteById(int id);

    int update(NursingLevel nursingLevel);

    NursingLevelVo findById(int id);

    List<NursingLevelVo> findAll();

    Page<NursingLevelVo> selectByPage(String name, Integer status);

    void statusControl(Integer id, Integer status);
}
